package DP.builder.car.builder.impl;

import DP.builder.car.product.impl.BMWModel;
import DP.builder.car.product.CarModel;
import DP.builder.car.builder.CarBuilder;

import java.util.ArrayList;

/**
 * @author msi
 * BMW 组装者
 */
public class BMWBuilder extends CarBuilder {

    private BMWModel bmwModel=new BMWModel();

    @Override
    public void setSequence(ArrayList<String> sequence) {
        this.bmwModel.setSequence(sequence);
    }

    @Override
    public CarModel getCarModel() {
        return this.bmwModel;
    }
}